package com.luban.service;

import org.springframework.context.SmartLifecycle;
import org.springframework.stereotype.Component;

/**
 * @author leimingchao
 * create 2025-04-21 13:55
 */
@Component
public class SpringBean implements SmartLifecycle {
	@Override
	public void start() {
		System.out.println("start");
	}

	@Override
	public void stop() {
		System.out.println("stop");
	}

	@Override
	public boolean isRunning() {
		return false;
	}

	@Override
	public boolean isAutoStartup() {
		return true;
	}
}
